/**
 * Created by xingkaihang on 2016/11/28.
 */
/**
 * @module uisample antd_UI组件库示例
 */

'use strict'

import {Route, withRouter, IndexRedirect} from 'react-router'
import React from 'react'
import Button from './components/Button'
import Dialog from './components/Dialog'
import 'antd/dist/antd.css'

const route = (
    <Route key="ui" path="">
        <IndexRedirect to="button"/>
        <Route path="button" component={withRouter(Button)}/>
        <Route path="dialog" component={withRouter(Dialog)}/>
    </Route>
)

export default {
    route
}
